ExportVul
Description
'export' the detected vulnerability records according to the query conditions.
Request Method
POST
Request Path
/apsara/route/aegis/ExportVul
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
StatusList | BODY | string | No | No sample value for this parameter. | vulnerability handling status, value range: 1: indicates pending processing 2: indicates that it has been ignored 3: indicates confirmed 8: indicates that it has been marked as a false positive 16: indicates that processing 32: indicates that the processing is complete supports specifying multiple states separated. |
Necessity | BODY | string | No | No sample value for this parameter. | Vulnerability repair necessity, value range: asap: indicates that it needs to be repaired as soon as possible later: indicates that the repair can be delayed nntf: indicates that it can not be repaired for the time being |
Resource | BODY | string | No | No sample value for this parameter. | source of vulnerability repair batch. |
Dealed | BODY | string | No | No sample value for this parameter. | whether the vulnerability has been processed. Y: indicates processed N: indicates unprocessed |
version | BODY | string | No | 2016-01-01 | version of api |
Name | BODY | string | No | No sample value for this parameter. | vulnerability name. |
BatchName | BODY | string | No | No sample value for this parameter. | vulnerability fix batch name. |
Type | BODY | string | No | No sample value for this parameter. | vulnerability classification. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
AliasName | BODY | string | No | No sample value for this parameter. | vulnerability alias. |
Level | BODY | string | No | No sample value for this parameter. | vulnerability level. |
Uuids | BODY | string | No | No sample value for this parameter. | host asset UUID, specifying multiple host asset UUIDs separated. |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
Progress | integer | no demo value | 'export' progress. |
TotalCount | integer | no demo value | total number of 'export'ed records. |
RequestId | string | no demo value | request ID. |
Message | string | no demo value | 'export' task status description or failure information. |
FileName | string | no demo value | 'export' file name. |
ExportStatus | string | no demo value | 'export' task status: init: indicates that the 'export' task is being initialized pending: indicates that the 'export' task is waiting for summary 'export'ing: indicates that the 'export' task is running success: indicates that the 'export' task has been successfully completed fail: indicates that the 'export' task failed |
CurrentCount | integer | no demo value | currently number of 'export'ed records. |
Id | integer | no demo value | 'export' task record ID. |
Link | string | no demo value | 'export' file download link. |
Example
Successful Response example
{
"Progress":"no demo value",
"TotalCount":"no demo value",
"RequestId":"no demo value",
"Message":"no demo value",
"FileName":"no demo value",
"ExportStatus":"no demo value",
"CurrentCount":"no demo value",
"Id":"no demo value",
"Link":"no demo value"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}